// 子类构造函数中调用父类构造函数
function Father(name) {
    this.colors = ['red', 'blue', 'green', 'yellow'];
    this.name = name;
};

function Son(name) {
    Father.call(this, name);
};

let s2 = new Son('Katrina');
console.log(s2.name);




